package com.yn.courseselectionsystem.dao;

import com.yn.courseselectionsystem.pojo.Semester;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface SemesterDao {
    List<Semester> selSemesterAll();

    @MapKey("id")
    Map<Integer,Semester> selSemesterMapAll();
}
